<!--
 * @Author: 汪军 624473119@qq.com
 * @Date: 2023-10-10 18:15:53
 * @LastEditors: 汪军 624473119@qq.com
 * @LastEditTime: 2023-12-02 13:47:50
 * @FilePath: \ekee-web\src\views\end\easy-link\EasyLink.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
<template lang="pug">
div.go-to-verify
  EnterpriseCertification(:payParams="payParams")
</template>

<script setup>
import { ref, onMounted } from "vue";
import EnterpriseCertification from "@/components/EnterpriseCertification.vue";
import { useRoute } from "vue-router";
const route = useRoute();

const payParams = ref({
  type: "",
  order_id: "",
  return_url: "",
});

onMounted(() => {
  payParams.value = {
    type: route.query.type,
    order_id: route.query.order_id ? route.query.order_id : "",
    return_url: route.query.return_url,
  };
  console.log("支付参数", payParams.value);
});
</script>

<style lang="stylus" scoped>
.go-to-verify
  height: 100%;
</style>
